package com.quick.admin.mapper;

import com.quick.common.dto.UserAdminDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：chicunxiang
 * @date ：Created in 2021/1/26 15:46
 * @description：
 * @version: 1.0
 */
@Mapper
public interface UserMapper {

    List<UserAdminDto> findAdmin(@Param("username") String username, @Param("password") String password);

    List<UserAdminDto> findAdminFromUsername(@Param("username")String username);
}
